package com.harvey.study.data.structure.datastructure.linkedlist;

public class TwoWayNode<T> {
    public T data;
    public TwoWayNode<T> next;
    public TwoWayNode<T> prev;

    public TwoWayNode(){
    }
    public TwoWayNode(TwoWayNode<T> prev, T data){
        this.data = data;
        this.prev = prev;
    }
}
